export interface IItem {
  text: string;
  value: string;
  size?: string;
  custom?: boolean;
}
interface version {
  midjourney: IItem[];
  niji: IItem[];
  [key: string]: IItem[];
}
export interface ICommand {
  text: string;
  type: string;
  close: boolean;
}

const type: IItem[] = [
  {
    text: "真实感强(Midjourney)",
    value: "midjourney",
  },
  {
    text: "卡通动漫(Niji)",
    value: "niji",
  },
];

const version: version = {
  midjourney: [
    {
      text: "V 6.0",
      value: "--v 6.0",
    },
    {
      text: "V 5.2",
      value: "--v 5.2",
    },
    {
      text: "V 5.1",
      value: "--v 5.1",
    },
    {
      text: "V 5",
      value: "--v 5",
    },
  ],
  niji: [
    {
      text: "Niji 6",
      value: "--niji 6",
    },
    {
      text: "Niji 5",
      value: "--niji 5",
    },
    {
      text: "Niji 4",
      value: "--niji 4",
    },
  ],
};

const style: IItem[] = [
  {
    text: "默认",
    value: "default",
  },
  {
    text: "RAW",
    value: "--style raw",
  },
];

const command: ICommand[] = [
  {
    text: "--ar 1:1",
    type: "size",
    close: false,
  },
  {
    text: "--v 6.0",
    type: "version",
    close: false,
  },
];

const picSize: IItem[] = [
  {
    text: "头像框",
    value: "--ar 1:1",
    size: "1:1"
  },
  {
    text: "手机壁纸",
    value: "--ar 1:2",
    size: "1:2"
  },
  {
    text: "电脑壁纸",
    value: "--ar 16:9",
    size: "16:9"
  },
  {
    text: "宣传海报",
    value: "--ar 9:16",
    size: "9:16"
  },
  {
    text: "文章配图",
    value: "--ar 4:3",
    size: "4:3"
  },
  {
    text: "媒体配图",
    value: "--ar 3:4",
    size: "3:4"
  },
  {
    text: "横板名片",
    value: "--ar 3:2",
    size: "3:2"
  },
  {
    text: "小红书图",
    value: "--ar 2:3",
    size: "2:3"
  },
  // {
  //   text: "自定义",
  //   value: "--ar 1:1",
  //   size: "1:1"
  // },
]

export { type, style, version, command, picSize };
